Make /run/lock tmpfs an API fs
authorMichael Biebl <biebl@debian.org>
Thu, 4 Sep 2014 23:15:16 +0000 (01:15 +0200)
committerMichael Biebl <biebl@debian.org>
Sun, 16 Aug 2020 11:14:46 +0000 (12:14 +0100)
commit95dc81ed3a0f0443caba958cd77ac2d993cdac47
tree5a212c085854d05203ffe2e2a4203184dec66f87
parentaad3ae8035b5b5f464fe8b3507ce413e4a3d17e0
Make /run/lock tmpfs an API fs

The /run/lock directory is world-writable in Debian due to historic
reasons. To avoid user processes filling up /run, we mount a separate
tmpfs for /run/lock. As this directory needs to be available during
early boot, we make it an API fs.

Drop it from tmpfiles.d/legacy.conf to not clobber the permissions.

Closes: #751392
Gbp-Pq: Topic debian
Gbp-Pq: Name Make-run-lock-tmpfs-an-API-fs.patch
src/core/mount-setup.c
tmpfiles.d/legacy.conf